package com.initialize.pub.dao;

import com.initialize.pub.mybatis.plus.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @program: Initialization_Project
 * @description:
 * @author: Mr.Jane
 * @create: 2019-10-10 22:32
 **/
public interface UserDAO {
    @Select({
            "SELECT * FROM `user` WHERE login = #{login} AND psd = #{psd}"
    })
    User login(@Param("login") String login, @Param("psd") String psd);


}
